package com.ymm.lulutong.constants;


/**
 * 钱包操作类型 枚举
 */
public enum WalletOpsEnum {

    /**
     * 默认
     */
    DEFAULT(0, "默认"),

    /**
     * 充值
     */
    TOP_UP(1, "充值"),

    /**
     * 返现
     */
    CASH_BACK(2, "返现"),

    /**
     * 退款
     */
    REFUND(3, "退款"),

    /**
     * 理赔
     */
    COMPENSATE(4, "理赔"),

    /**
     * 支付
     */
    PAY(5, "支付"),

    /**
     * 提现
     */
    WITHDRAWAL(6, "提现");

    Integer code;
    String message;

    WalletOpsEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
